
import { Injectable, Injector } from '@angular/core';
import { NgRepository } from '@farris/devkit';
import { BefRepository, NgVariable } from '@farris/bef';
import { CwhsxxEntity } from './entities/cwhsxxentity';

import { CwhsxxProxy } from './cwhsxxproxy';

@Injectable()
@NgRepository({
    apiUrl: 'api/basicdata/financedata/v1.0/kmtxgl_frm',
    entityType: CwhsxxEntity
})
export class CwhsxxRepository extends BefRepository<CwhsxxEntity> {
    public name = 'CwhsxxRepository';

    public proxy: CwhsxxProxy;
    public paginationInfo = {
        CwhsxxEntity: {
            pageSize: 20,
        }
    };
    constructor(injector: Injector) {
        super(injector);
        this.proxy = injector.get(CwhsxxProxy, null);
    }
}